/* 手机号*/
export const mobile = str => {
  const reg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/
  return reg.test(str)
}
/* 邮编*/
export const zipcode = str => {
  const reg = /^[1-9][0-9]{5}$/
  return reg.test(str)
}

/* 邮编*/
export const pwd = str => {
  const reg = /^[1-9][0-9]{5}$/
  return reg.test(str)
}
